<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let num = 10;
        num += 5;//与num = num + 5等价,还有*=、-=、/=等也是一样效果
        console.log(num);
    </script>
</body>
</html>